import request from "@/utils/request";

export function findAll() {
  return request({
    url: "/api/v1/palspcenter/findAllMY",
    method: "get",
  })
}

export function deletevideo(vid:any) {
  return request({
    url: `/api/v1/palspcenter/delete?vid=${vid}`,
    method: "get",
    data: vid
  })
}
export function update(data: any) {
  return request({
    url: "/api/v1/palspcenter/updatesp",
    method: "post",
    data: data,
  });
}

export function findAllDZ(id:any) {
  return request({
    url: `/api/v1/palspcenter/findAllDZ?id=${id}`,
    method: "get",
    data: id
  })
}




